import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Vant from 'vant';
import 'vant/lib/index.css';
import axios from 'axios';
import { Toast,Lazyload  } from 'vant';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import {isEmpty} from '@/utils/base.js'
Vue.config.productionTip = false

Vue.prototype.$axios=axios 
Vue.use(Vant);
Vue.use(ElementUI);
Vue.prototype.$isEmpty=isEmpty;
Vue.use(Toast);
Vue.use(Lazyload, {
  lazyComponent: true,
});//组件懒加载
Vue.prototype.$toast=Toast //提示框


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
